package com.ylsk.flowable.domain.vo;

import java.io.Serializable;
import java.util.Date;

/**
 * FileName Attachment
 * Description 流程附件实vo
 * version V1.0
 */
public class Attachment implements Serializable {


    /**附件名称*/
    private String name;

    /**附件描述*/
    private String desc;

    /**附件类型*/
    private String type;

    /**任务id*/
    private String taskId;

    /**流程实例id*/
    private String processInstanceId;

    /**附件路径*/
    private String url;

    /**附件内容*/
    private byte[] bytes;

    /**附件流id*/
    private String contentId;

    /**附件时间*/
    private Date time;

    public Attachment(byte[] bytes, String contentId, String desc, String name, String processInstanceId, String taskId, Date time, String type, String url) {
        this.bytes = bytes;
        this.contentId = contentId;
        this.desc = desc;
        this.name = name;
        this.processInstanceId = processInstanceId;
        this.taskId = taskId;
        this.time = time;
        this.type = type;
        this.url = url;
    }

    public Attachment() {
    }

    public byte[] getBytes() {
        return bytes;
    }

    public void setBytes(byte[] bytes) {
        this.bytes = bytes;
    }

    public String getContentId() {
        return contentId;
    }

    public void setContentId(String contentId) {
        this.contentId = contentId;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProcessInstanceId() {
        return processInstanceId;
    }

    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
